<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
</head>
<body>
<textarea id="content" name="content"></textarea>

<js href="__PUBLIC__/ueditor/ueditor.config.js" />
<js href="__PUBLIC__/ueditor/ueditor.all.js" />


<script type="text/javascript">
    //	window.UEDITOR_CONFIG.serverUrl = "{:U(MODULE_NAME.'/Blog/upload')}";
    window.UEDITOR_HOME_URL="__PUBLIC__/ueditor/";
    window.onload=function(){
        window.UEDITOR_CONFIG.initialFrameHeight=500;
//            window.UEDITOR_CONFIG.imageUrl="http://localhost/blog/Admin/Blog/upload";
//            window.UEDITOR_CONFIG.serverUrl="http://localhost/blog/Admin/Blog/upload"
        imagePathFormat: "/ueditor/php/upload/image/{yyyy}{mm}{dd}/{time}{rand:6}";
        var ue = UE.getEditor('content');
    }

</script>
</body>
</html>